﻿@model Yamfinder.Web.Models.ImportMappingModel

<tr>
    <td id="@string.Format("{0}{1}",Model.ImportName,"_importName")" class="specialHeaderThing">@Model.ImportName</td>
    <td id="@string.Format("{0}{1}",Model.ImportName,"_importType")">@Model.Type</td>
    <td>
        <select id = "@string.Format("{0}",Model.ImportName)" class='existingSelector'>
            @foreach(var item in Model.ExistingFields){
             <option value="@item">@item</option>   
            }
        </select>
    </td>
    <td>
        @Html.TextBoxFor(model => model.DatabaseName, new { id = Model.ImportName + "_textBox", @class = "mappedField"})        
    </td>
    <td>
        <label id="@string.Format("{0}{1}",Model.ImportName,"_action")">@Model.IntialActionText</label>
    </td>
</tr>

